package org.biouno.unochoice.bean;

import static hudson.Util.fixEmpty;
import static org.biouno.unochoice.util.Utils.getNodes;

import com.alibaba.fastjson.JSONObject;
import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import hudson.model.Item;
import hudson.util.ListBoxModel;

import java.io.Serializable;
import java.util.List;
import java.util.regex.Pattern;

import org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.Whitelisted;
import org.kohsuke.stapler.AncestorInPath;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.export.Exported;
import org.kohsuke.stapler.export.ExportedBean;

public class BuildConfigBean {

    //编译节点
    private List<String> nodeLabels;



    public List<String> getNodeLabels() {
        return nodeLabels;
    }

    public void setNodeLabels(List<String> nodeLabels) {
        this.nodeLabels = nodeLabels;
    }

    public String getScript() {
        return script;
    }

    public void setScript(String script) {
        this.script = script;
    }

    public BuildConfigBean( String script) {
        this.script = script;
    }

    //编译脚步
    private String script;
}
